{% extends "movies/base_movies.html" %}


{% block title %}{{ object.full_title }}{% endblock %}


{% block content %}
  {% load markup %}
  
  <h2 class="title">{{ object.full_title }}</h2>
  {% if object.subtitle %}<h3 class="subtitle">{{ object.subtitle }}</h3>{% endif %}
  
  <ul class="details">
    <li>Directors: {% for director in object.directors.all %}<a href="{{ director.get_absolute_url }}">{{ director.full_name }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</li>
    <li>Studio: <a href="{{ object.studio.get_absolute_url }}">{{ object.studio.full_title }}</a></li>
    <li>Released: {{ object.released|date:"d F Y" }}</li>
    <li>Genre: {% for genre in object.genre.all %}{{ genre.title }}{% if not forloop.last %}, {% endif %}{% endfor %}</li>
    <li>ASIN: {{ object.asin }} (<a href="{{ object.amazon_url }}">Amazon</a>)</li>
  </ul>
  
  {% if object.review %}
  <div class="review">
    <h3>Review</h3>
    {{ object.review|markdown }}
  </div>
  {% endif %}
{% endblock %}